﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OOAD_Project_Engine.Foundation.Interfaces;

namespace OOAD_Project_Engine.Foundation.MyEventArgs
{
   public class EntityEventArgs:EventArgs
    {
        IEntity entity;

        public EntityEventArgs(IEntity entity)
        {
            this.entity = entity;
            Name = entity.Name;
        }

        public IEntity Entity
        {
            get
            {
                return entity;
            }
        }

        public string Name { get; set; }
    }
}
